package yl.hs.bmipfull.pojo.production;

import lombok.Data;
import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.util.Date;

/**
 * @author 谢东
 * @apiNote 成品出库记录-主表实体类
 * @since 2023年06月14日 15时45分46秒
 */
@DBTable(disName = "成品出库记录-主表", mapCode = "finish_product_outbound_record")
@Data
public class FinishProductOutboundRecordEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "成品出库记录-主表编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "")
    private String sn;
    /**
     * 合同编号
     */
    private String contractSN;
    /**
     * 客户编号
     */
    private String customerSN;
    /**
     * 客户名称
     */
    private String customerName;
    /**
     * 客户名称拼音
     */
    private String customerNamePY;
    /**
     * 发货时间
     */
    private Date deliveryTime;
    /**
     * 备注
     */
    private String remark;
    /**
     * 状态
     */
    private Short state;
    /**
     * 运输车辆集合
     */
    private String truckPlate;

    private String saleOrderSN;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return this.id;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getSn() {
        return this.sn;
    }

    public void setContractSN(String contractSN) {
        this.contractSN = contractSN;
    }

    public String getContractSN() {
        return this.contractSN;
    }

    public void setCustomerSN(String customerSN) {
        this.customerSN = customerSN;
    }

    public String getCustomerSN() {
        return this.customerSN;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerName() {
        return this.customerName;
    }

    public void setCustomerNamePY(String customerNamePY) {
        this.customerNamePY = customerNamePY;
    }

    public String getCustomerNamePY() {
        return this.customerNamePY;
    }

    public void setDeliveryTime(Date deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public Date getDeliveryTime() {
        return this.deliveryTime;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public Short getState() {
        return this.state;
    }

    public void setTruckPlate(String truckPlate) {
        this.truckPlate = truckPlate;
    }

    public String getTruckPlate() {
        return this.truckPlate;
    }

}